import { Type } from 'class-transformer'
import { IsNotEmpty } from 'class-validator'
import i18n from '@/i18n'
import { ApiProperty } from '@nestjs/swagger'

export class ActionSocketPingDto {
  @ApiProperty({ description: i18n.t('lhy-common.dto.action-socket-ping.12153278-0') })
  @IsNotEmpty()
  @Type(() => Number)
  time: number
}
